<?php

session_start();
if (isset($_SESSION['login'])) {
    if ($_SESSION['login']=="go"){
        include '../LogIn/isLoggedIn.php';}
}
else {
    include '../LogIn/mainLogin.php';
    echo "You are not logged in";
}
echo $_SESSION['myusername'];
?>
<br>
<a href="mainlogin.php">Back to login</a><br>
<a href="logout.php">Log out</a>